//查询物资出库单列表(分页)
export function GetStockOutList(data) {
	return request({
		url: 'pda/wm/stockout/list',
		headers: {
			isToken: true
		},
		method: 'post',
		data: data
	})
}

//物资出库单新增
export function AddStockOut(data) {
	return request({
		url: 'pda/wm/stockout/add',
		headers: {
			isToken: true
		},
		method: 'post',
		data: data
	})
}

//修改物资出库单
export function UpdateStockOut(data) {
	return request({
		url: 'pda/wm/stockout/update',
		headers: {
			isToken: true
		},
		method: 'put',
		data: data
	})
}


///获取物资出库单详细信息
export function GetInfoByRecptId(recptId) {
	return request({
		url: 'pda/wm/stockout/' + recptId,
		headers: {
			isToken: true
		},
		method: 'get'
	})
}


//扫码识别
export function ScanCode(query) {
	return request({
		url: 'pda/wm/stockout/scan',
		headers: {
			isToken: true
		},
		method: 'get',
		params: query
	})
}

//执行出库
export function ExecuteStockOut(recptId) {
	return request({
		url: 'pda/wm/stockout/execute/' + recptId,
		headers: {
			isToken: true
		},
		method: 'get'
	})
}